<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <script>
  //练习一：
  function printInfo() {
    console.log("name:cyh")
    console.log("age：20")
    console.log("adress:安徽省黄山市")
    console.log("爱好：打乒乓球")
  }
  
  printInfo()
  printInfo()
//练习二
function sum() {
  var num1=10
  var num2=20
  var sum1=num1+num2
  console.log(`${num1}和${num2}的和是${sum1}`)
}
sum()
  </script>
</body>
</html>